package com.example.module_personal_center;

import android.os.Bundle;

import androidx.fragment.app.FragmentManager;

import com.example.module_personal_center.databinding.ActivityPersonalCenterBinding;
import com.harisucici.jetpackbase.base.HBaseActivity;

public class PersonalCenterActivity extends HBaseActivity<ActivityPersonalCenterBinding,PersonalCenterModel> {
    private FragmentManager fragmentManager;

    @Override
    public int initContentView(Bundle savedInstanceState) {
        return R.layout.activity_personal_center;
    }

    @Override
    public int initVariableId() {
        return BR.personalcentermodel;
    }

    @Override
    public void initParam() {
        super.initParam();
        fragmentManager = getSupportFragmentManager();
        fragmentManager.beginTransaction().replace(R.id.personal_center_fragment, new PesonalCenterFragment())
                .commitAllowingStateLoss();
    }
}
